@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: '생산오더 관련'
@Metadata.ignorePropagatedAnnotations: true
define root view entity YMOON_PRODUCTION as select from I_ManufacturingOrder
{
    
  key ManufacturingOrder,

      // Category and Type
      ManufacturingOrderCategory,
      cast(ManufacturingOrderType as aufart preserving type )            as ProductionOrderType,

      // Text
      @Semantics.text: true
      ManufacturingOrderText                                             as ProductionOrderText,
      ManufacturingOrderHasLongText                                      as OrderHasLongText,
      LongTextLanguageCode,

      // Attributes
      ManufacturingOrderImportance                                       as OrderImportance,
      IsMarkedForDeletion,
      IsCompletelyDelivered,
      MfgOrderHasMultipleItems                                           as OrderHasMultipleItems,

      MfgOrderIsPartOfCollvOrder                                         as OrderIsPartOfCollectiveOrder,
      MfgOrderHierarchyLevel                                             as OrderHierarchyLevelValue,

      OrderIsNotCostedAutomatically,

      OrdIsNotSchedldAutomatically,
      ProdnProcgIsFlexible

}
